﻿using System;
using System.Runtime.InteropServices;

namespace YArchitech.Controls.ImgListView
{
	[ComVisible(true)]
	[Serializable]
	public class DropFileEventArgs
	{
		public bool Cancel
		{
			get
			{
				return this.mCancel;
			}
			set
			{
				this.mCancel = value;
			}
		}

		public int Index
		{
			get
			{
				return this.mIndex;
			}
		}

		public string[] FileNames
		{
			get
			{
				return this.mFileNames;
			}
		}

		public DropFileEventArgs(int index, string[] fileNames)
		{
			this.mCancel = false;
			this.mIndex = index;
			this.mFileNames = fileNames;
		}

		private bool mCancel;

		private int mIndex;

		private string[] mFileNames;
	}
}
